package com.appcenter.autotask.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@ConfigurationProperties(prefix = "remote", ignoreUnknownFields = false)
@PropertySource("classpath:remote.properties")
@Component
public class RemoteProperties {
    private String dataSynchronize;

    public String getDataSynchronize() {
        return dataSynchronize;
    }

    public void setDataSynchronize(String dataSynchronize) {
        this.dataSynchronize = dataSynchronize;
    }
}
